home *** CD-ROM | disk | FTP | other *** search
- %%BeginProcSet:CanvasDict
- /CanvasDict 250 dict def
- CanvasDict begin
- systemdict/setpacking known{/origpack currentpacking def true setpacking}if
- /bdf{bind def}bind def/xdf{exch bind def}bdf/min{2 copy gt{exch}if pop}bdf/edf{exch def}bdf
- /max{2 copy lt{exch}if pop}bdf/cvmtx matrix def/currot 0 def/rotmtx matrix def/origmtx matrix def
- /cvangle {360 exch sub 90 add 360 mod}bdf
- /setrot {/currot edf rotmtx currentmatrix pop 2 copy translate currot rotate neg exch neg exch translate}bdf
- /endrot {rotmtx setmatrix}bdf
- /patspot {1 add 4 mul cvi exch 1 add 4 mul cvi exch patstr exch get exch 7 exch sub 1 exch bitshift and 0 ne{1}{0}ifelse}bdf
- /f /fill load def
- /s {1 setlinewidth penh penv scale stroke}bdf
- /i systemdict /image get def
- /T true def/F false def
- /icomp{/ncolors edf
- ncolors 1 gt{/proc0 edf
- ncolors 3 eq{{proc0 dup /st0 edf
- 0 exch
- 3 exch
- length
- dup 3 sub exch 3 div cvi string /st1 edf{dup
- 0 exch
- dup
- 1 exch
- 2 add{st0 exch get add}for
- 3 div cvi
- dup 255 gt{pop 255}if
- exch 3 div cvi exch
- st1 3 1 roll put}for
- st1}}{{proc0 dup /st0 edf
- 0 exch
- 4 exch
- length
- dup 4 sub exch 4 div cvi string /st1 edf{dup
- 0 exch
- dup
- 1 exch
- 2 add
- { st0 exch get add}for
- 3 div
- exch dup 3 1 roll 3 add st0 exch get add cvi
- dup 255 gt{pop 255}if
- exch 4 div cvi exch
- st1 3 1 roll put}for
- st1}}ifelse}if
- i}bdf
- /ci{/colorimage where
- {pop false exch colorimage} %use existing colorimage
- {icomp} %approximate with image command
- ifelse}bdf
- /spat{/patstr edf
- /ncolors edf
- /s{ matrix currentmatrix
- 1 setlinewidth penh penv scale
- 25 setflat %for curves this reduced number of points
- strokepath
- setmatrix
- impat}def
- /f{ impat}def}bdf
- /impat{
- /samplesize 8 ncolors mul def
- /cnt 0 def
- currot neg rotate
- clip
- flattenpath
- pathbbox
- 3 -1 roll
- dup /starty edf
- sub abs 8 div ceiling 8 mul cvi /height edf
- exch dup /startx edf
- sub abs samplesize div ceiling samplesize mul cvi /width edf
- startx starty translate
- width height scale
- /st0 width ncolors mul string def
- width height 8 [width 0 0 height neg 0 height]
- {patstr
- cnt 8 mod samplesize mul
- samplesize
- getinterval
- /st1 edf
- 0
- samplesize
- st0 length samplesize sub dup 0 le{pop 1}if
- {st0 exch
- st1
- putinterval}for
- /cnt cnt 1 add def
- st0}bind
- ncolors
- dup 1 eq {icomp}{ci}ifelse
- newpath}bdf
- /cm{/ncolors edf
- translate
- scale/height edf/width edf/tbitstr width string def
- width height 8 [width 0 0 height neg 0 height]
- {currentfile tbitstr readhexstring pop}bind
- ncolors
- dup 3 eq {ci}{icomp}ifelse}bdf
- /im{translate
- scale/height edf/width edf/tbitstr width 7 add 8 div cvi string def
- width height 1 [width 0 0 height neg 0 height]{currentfile tbitstr readhexstring pop}bind
- i}bdf
- /imk{/invFlag edf translate scale
- /height edf
- /width edf
- /tbitstr width 7 add 8 div cvi string def
- width height invFlag [width 0 0 height neg 0 height]{currentfile tbitstr readhexstring pop}bind imagemask}bdf
- /BeginEPSF{/MySave save def/dict_count countdictstack def/op_count count 1 sub def userdict begin
- /showpage {} def 0 setgray 0 setlinecap 1 setlinewidth 0 setlinejoin
- 10 setmiterlimit [] 0 setdash newpath
- /languagelevel where
- {pop languagelevel 1 ne{false setstrokeadjust false setoverprint}if}if}bdf
- /EndEPSF{count op_count sub {pop}repeat countdictstack dict_count sub {end}repeat MySave restore}bdf
- /setpat {1 currenttransfer exec 0 eq{exch pop{1 exch sub}}{pop{}}ifelse systemdict begin settransfer end /patstr edf 9.375 currot neg rotate 1 0 dtransform exch atan 0 1 dtransform exch pop 0 ge{180 add}if currot rotate/patspot load systemdict begin setscreen end}bdf
- systemdict/setcmykcolor known not{/setcmykcolor{/black edf 3{black add 1.0 exch sub 0.0 max 1.0 min 3 1 roll}repeat setrgbcolor}bdf}if
- /setpcol{/pgray edf systemdict/setcmykcolor known{/pgray 1 pgray sub def 4{0 eq{0}{pgray}ifelse 4 1 roll}repeat setcmykcolor}
- {setcmykcolor currentgray 1 ne{pgray}{1}ifelse setgray}ifelse}bdf
- /rectpath {/cv_r edf/cv_b edf/cv_l edf/cv_t edf
- cv_l cv_t moveto cv_r cv_t lineto cv_r cv_b lineto cv_l cv_b lineto cv_l cv_t lineto closepath}bdf
- /setpen {/penh edf/penv edf/penv2 penv 2 div def/penh2 penh 2 div def}bdf
- /dostroke{save /MySave edf not pens 1 currentgray ne or {s}if MySave restore}def
- /dodashfill{save /MySave edf not fills 1 currentgray ne or {gsave f grestore [] 0 setdash s}if MySave restore}def
- /dofill{save /MySave edf not fills 1 currentgray ne or {f}if MySave restore}def
- /doline{save /MySave edf not pens 1 currentgray ne or {f}if MySave restore}def
- /pmov{penv2 add exch penh2 sub exch moveto}bdf/plin{penv2 add exch penh2 sub exch lineto}bdf
- /linpath{/cv_b edf/cv_r edf/cv_t edf/cv_l edf penh2 dup cv_r exch sub/cv_r edf
- cv_l exch sub/cv_l edf penv2 dup cv_b add/cv_b edf cv_t add/cv_t edf cv_r cv_l gt
- {cv_b cv_t lt{cv_l cv_t moveto penh 0 rlineto cv_r penh add cv_b lineto 0 penv neg rlineto penh neg 0 rlineto
- cv_l cv_t penv neg add lineto}{cv_l cv_t moveto cv_r cv_b lineto penh 0 rlineto 0 penv neg rlineto
- cv_l penh add cv_t penv neg add lineto penh neg 0 rlineto 0 penv rlineto}ifelse}{cv_b cv_t lt{
- cv_l cv_t moveto cv_r cv_b lineto 0 penv neg rlineto penh 0 rlineto cv_l penh add cv_t penv neg add lineto 0 penv rlineto penh neg 0 rlineto}{
- cv_l penh add cv_t moveto cv_r penh add cv_b lineto penh neg 0 rlineto 0 penv neg rlineto
- cv_l cv_t penv neg add lineto penh 0 rlineto 0 penv rlineto}ifelse}ifelse closepath}bdf
- /dopline {/cv_pv edf/cv_ph edf currentpoint cv_ph cv_pv linpath doline newpath cv_ph cv_pv moveto}bdf
- /LswUnits{72 75 div dup scale}bdf
- /erasefill{gsave 1.0 setgray fill grestore}bdf
- /tpmx matrix def
-